jsForms.Templates["page.index"]='<div>'+
	'<span>Please selected project folder</span>'+
	'<component type="common.RemoteFileExplorer" name="explorer">'+
		'<properties>'+
			'<key name="ServerService" value="server/filesystem/action.php"/>'+
			'<key name="Root" value="/"/>'+
		'</properties>'+
	'</component>'+
	'<component type="common.Button">'+
		'<properties>'+
			'<key name="Text" value="OK"/>'+
		'</properties>'+
		'<events>'+
			'<key name="onClick" value="SelectProjectFolder"/>'+
		'</events>'+
	'</component>'+
'</div>';

jsForms.Components["page.index"]={
	Init:function()
	{
		return jsForms.Components.Component.Init.call(this);
	},
	SelectProjectFolder:function(){
		var path = this.C.explorer.GetSelectedPath();
		window.location = URLUtils.SetParameter('path',path,"builder.html");
	}
};
